home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / game / think / AmiChess.lha / AmiChess / src / book.h < prev    next >
Text File  |  2002-10-13  |  1KB  |  39 lines

  1. /* GNU Chess 5.0 - book.h - book symbolic definitions
  2.    Copyright (c) 1999 Free Software Foundation, Inc.
  3.  
  4.    GNU Chess is based on the two research programs 
  5.    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
  6.  
  7.    GNU Chess is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License as published by
  9.    the Free Software Foundation; either version 2, or (at your option)
  10.    any later version.
  11.  
  12.    GNU Chess is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.    GNU General Public License for more details.
  16.  
  17.    You should have received a copy of the GNU General Public License
  18.    along with GNU Chess; see the file COPYING.  If not, write to
  19.    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  20.    Boston, MA 02111-1307, USA.
  21.  
  22.    Contact Info: 
  23.      bug-gnu-chess@gnu.org
  24.      cracraft@ai.mit.edu, cracraft@stanfordalumni.org, cracraft@earthlink.net
  25. */
  26. #define BOOKSRC "book.src"
  27.  
  28. /* The book which BookQuery() uses */
  29. #define BOOKBIN "PROGDIR:book.dat"
  30.  
  31. /* The book which BookBuilder() uses */
  32. #define BOOKRUN "PROGDIR:book.dat"
  33.  
  34. #define R_WHITE_WINS 1
  35. #define R_BLACK_WINS 2
  36. #define R_DRAW 3
  37. #define R_NORESULT 4
  38. #define BOOKDEPTH 20  /* We gobble this many moves from each PGN book game */
  39.